Skip to content

Do a full depth clone - #130

Merged
kcooney merged 3 commits into
mainfrom
kyle/do-full-depth-clone
Feb 9, 2026
Merged

Do a full depth clone#130
kcooney merged 3 commits into
mainfrom
kyle/do-full-depth-clone

Conversation

@cuttestkittensrule

Copy link
Copy Markdown
Collaborator

Some issues have been popping up with spotless throwing errors in CI and not on local clones, even if origin/main is up-to-date. So, instead of doing a shallow clone, just do a full-depth clone like the spotless devs recommend in their docs. We could change this to do a full fetch, but it is probably just simpler to do a non-shallow clone.

This also updates the action for setting up gradle (which among other things verifies the integrity of the gradle wrapper jar)

This is because the CI is producing different results than an up-to-date
local build, and is a workaround suggested by the spotless devs, and
will probably work better because of that. It may reduce the speed of
the CI builds, but there isn't much we can do about that until the
spotless devs can fix it on their end.
@kcooney
kcooney merged commit 047cfe1 into main Feb 9, 2026
1 check passed
@kcooney
kcooney deleted the kyle/do-full-depth-clone branch February 9, 2026 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants